﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml;

namespace MaxLeaf.Common
{

    /// <summary>
    /// 数据库信息
    /// </summary>
    public class ServerInfo
    {
        public string Name { get;  set; }
        public string IP { get;  set; }
        public string Port { get;  set; }

        public string Database { get; set; }
        public string Uid { get;  set; }
        public string Pwd { get;  set; }
        public ServerType Type { get;  set; }       //用来判断是K3的还是网站的 
       
        public ServerInfo()
        {
        }


        public override string ToString()
        {

            return string.Format("Server:{0}",this.Database);
        }


    }
}